package com.project.service;

import com.github.pagehelper.PageInfo;
import com.project.bean.DiscussBean;
import com.project.bean.TopicBean;

import java.time.LocalDate;

public interface ITopicService {
    public PageInfo<TopicBean> cutByItem(int pageNO, int channelId, String topicName, String authName, LocalDate startDate,LocalDate endDate);

    public void add(TopicBean topicBean);

    public TopicBean findById(int id);
}
